package ren.colorful.learnJava.jdk8.lambda;

import java.util.Objects;

import org.junit.Test;

public class TestLambda {
	
	@Test
	public void test(){
		LambdaInterface lambda = new LambdaImpl();
		LambdaInterface lam = (s) -> Objects.nonNull(s);
		lam.doSomeThing("fulin");
		lambda.doSomeThing("fulin");
	}
}
